﻿@model Infinity.BusinessLayer.CourseGroup_typeViewModel
@using Infinity.BusinessLayer
<script src="~/Scripts/jquery-1.8.2.min.js"></script>
<script src="~/Scripts/jquery.validate.min.js"></script>
<script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>


@using (Html.BeginCollectionItem("course_grouptype"))
{
    <div id="GroupType">
        <div class="editor-label">
            @Html.HiddenFor(model => model.CourseID)
        </div>
        <div class="row">
            <tr>
                <td>
                   Nationality
                        @Html.DropDownListFor(m => m.NationalityID, new SelectList(ViewBag.nationality, "NationalityID", "NationalityName", Model.NationalityID))
                       
                </td>
                <td>
                    @*<span class="input input--jiro"></span>*@

                    @*<label class="input__label">
        <span class="input__label-content input__label-content--jiro"></span>
    </label>*@  GroupType
                        @Html.DropDownListFor(m => m.GrouptypeID, new SelectList(ViewBag.group_type, "GroupTypeID", "type", Model.GrouptypeID))
                        @*@Html.EditorFor(modelItem => modelItem.NationalityName)*@
                   


                </td>
                <td>
                 Price @Html.EditorFor(modelItem => modelItem.Price)
                    



                </td>
            </tr> 
        </div>

    </div>


}
@*<div class="col-md-4">
        <span class="input input--jiro">
            <select class="input__field input__field--jiro" name="NationalityID" id="NationalityID">
                @foreach (var item in ViewBag.nationality)
                {
                    <option>@item.NationalityName</option>
                }
            </select>

            <label class="input__label input__label--jiro" for="input-19">
                <span class="input__label-content input__label-content--jiro">Nationality</span>
            </label>
        </span>
    </div>*@

@*<div class="col-md-4">
        <span class="input input--jiro">
            <select class="input__field input__field--jiro" name="GroupTypeID" id="GroupTypeID">
                <option></option>
                @foreach (var item in ViewBag.group_type)
                {
                <option> @item.type  </option>
                }
            </select>
            <label class="input__label input__label--jiro" for="input-19">
                <span class="input__label-content input__label-content--jiro">Group type</span>
            </label>
        </span>
    </div>*@
